home *** CD-ROM | disk | FTP | other *** search
/ Extra! Mainframe / Extra! Mainframe for Windows 95.iso / snaserv / source / parseca.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-10-01  |  1.3 KB  |  46 lines

  1. /****************************************************************************
  2. **
  3. **    File:            PARSECA.H
  4. **    Purpose:        Header file for Custom Action data parsing routines
  5. **                    for the Sample App DLL.
  6. **    Notes:
  7. **
  8. ****************************************************************************/
  9.  
  10. #ifndef PARSECA_H
  11. #define PARSECA_H
  12.  
  13.  
  14. RC   PUBLIC RcParseInfSectKey ( OR orCur, SZ szData, PSZ pszInfSect,
  15.                     PSZ pszInfKey );
  16. RC PUBLIC RcParseLor ( PCD pcd, OR orCur, SZ szData, PPLOR pplor );
  17.  
  18. BOOL PUBLIC FValidInfSection ( SZ szSection );
  19. BOOL PUBLIC FValidGroupPlor ( PCD pcd, PLOR plor, OR orGroup );
  20. SZ   PUBLIC SzStrDupl ( SZ sz );
  21. BOOL PUBLIC FReadDataFieldString ( PSZ pszData, PSZ pszMember );
  22. BOOL PUBLIC FValidInfKey ( SZ szKey );
  23. VOID PUBLIC ParseError ( OR or, SZ szMsg );
  24. SZ   PUBLIC SzGetTableField ( SZ szLine, SZ szField, CB cbFieldMax,
  25.                             CHAR chSep );
  26. VOID PUBLIC CopyCharToBuf ( PSZ pszCur, PSZ pszBuf, PCB pcbBuf );
  27. PLOR PUBLIC PlorFromSz ( OR orCur, SZ sz );
  28. BOOL PUBLIC FFreePlor ( PPLOR pplor );
  29. PLOR PUBLIC PlorAlloc ( UINT cor );
  30.  
  31.  
  32. #define FValidOr(pcd, or)    (or != orNil && or < pcd->cObjectsMax)
  33.  
  34.  
  35.  
  36. #ifdef DEBUG
  37. #define DebugMsgBox(cszcText,cszcTitle) DoMsgBox(cszcText, cszcTitle,                \
  38.                                                MB_OK | MB_ICONEXCLAMATION)
  39. #else
  40. #define DebugMsgBox(cszcText,cszcTitle)
  41. #endif
  42.  
  43.  
  44. #endif  /* PARSECA_H */
  45.  
  46.